package com.web.entity;

/**
 * @author lenovo
 * @Description
 * @Date2025-3-13 19:38
 */
public class Book {
    private int id;
    private String bookname;
    private String name;
    private String price;
    private String publishe;

    @Override
    public String toString() {
        return "Book{" +
                "id=" + id +
                ", bookname='" + bookname + '\'' +
                ", name='" + name + '\'' +
                ", price='" + price + '\'' +
                ", publishe='" + publishe + '\'' +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBookname() {
        return bookname;
    }

    public void setBookname(String bookname) {
        this.bookname = bookname;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getPublishe() {
        return publishe;
    }

    public void setPublishe(String publishe) {
        this.publishe = publishe;
    }

    public Book(int id, String bookname, String name, String price, String publishe) {
        this.id = id;
        this.bookname = bookname;
        this.name = name;
        this.price = price;
        this.publishe = publishe;
    }

    public Book() {
    }
}
